const app = getApp()
Component({
  properties: {
    info: Object
  },
  data: {
    isHotel:false,
    api: app.globalData.api,
  },
  methods: {
    onSelHotel() {
      this.setData({ isHotel: true })
    },
    onCloseHotel() {
      this.setData({ isHotel: false })
    }
  }
})